from django import forms

class FormRegister(forms.Form):
    name = forms.CharField(label='姓名')
    pwd = forms.CharField(widget=forms.PasswordInput, label='密码')
    sex = forms.CharField(label='性别')
    phone = forms.CharField(label="电话号码")
    email = forms.EmailField(label='电子邮件')


class FormLogin(forms.Form):
    name = forms.CharField(label='姓名')
    pwd = forms.CharField(widget=forms.PasswordInput, label='密码')